import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import permRouters from './modules/permRouters'
import role from './modules/role'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules : {
        user,
        permRouters,
        role
    },
    getters
})

export default store